package iwant.bluetooth.whereis;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.view.Window;
import android.view.WindowManager;
import android.widget.ImageButton;

public class WhereisActivity extends Activity {
   
	private static final String TAG = "whereis";
	@Override
    public void onCreate(Bundle savedInstanceState) 
    {
        super.onCreate(savedInstanceState);
        
        requestWindowFeature(Window.FEATURE_NO_TITLE); 
        this.getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN);
        
        setContentView(R.layout.main);
        final ImageButton boton_radar =(ImageButton)findViewById(R.id.btn_radar);
        
        Log.v(TAG,"Establecemos el handler del onclic del boton radar");
        boton_radar.setOnClickListener(new View.OnClickListener() 
        {
        	public void onClick(View arg0)
            {
    			startActivity(new Intent(getBaseContext(), radar.class));

            }
        });
    }
}